const axios = require('axios')
const baseURL = 'http://localhost:3000'

// 这个是登录请求
export function loginRequest (params) {
  console.log('登录请求')
  console.log(params)
  return axios({
    method: 'POST',
    url: baseURL + '/api/login',
    data: {
      ...params
    }
  })
}
